package com.iamteer.service;

import java.util.List;

import com.iamteer.dao.AdminDao;
import com.iamteer.entity.Admin;

public class AdminService {
	private AdminDao adminDao = new AdminDao();
	
	public Admin login(Admin admin) {
		return adminDao.login(admin);
	}
	
	public List<Admin> getAll() {
		return adminDao.getAll();
	}
}
